Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 11, 2025

  • Review comments and fix build errors iteratively
  • Added explicit Reference elements across 77 unique projects (some updated multiple times)
  • Replied to all comments with commit hashes

Summary

Fixed build errors after dependency update from 10.0.x to 11.0.0-alpha by adding explicit Reference elements to 77 unique projects across 15 rounds of fixes. Some projects received multiple rounds of reference additions as additional type dependencies were discovered during the build process.

Latest Progress (Round 15):

Updated 4 projects with additional missing references:

  • Components.WebAssembly.Server (added Http.Features)
  • OpenApi (added Routing.Abstractions)
  • Components.Server (added Extensions.Features)
  • Identity (added Hosting.Abstractions)

All References Added:

  • Microsoft.AspNetCore.Http - IHttpActivityFeature, HeaderDictionary
  • Microsoft.AspNetCore.Http.Abstractions - HttpContext, RequestDelegate, IApplicationBuilder, HttpMethods, BadHttpRequestException, routing features (IEndpointFeature, IRouteValuesFeature)
  • Microsoft.AspNetCore.Http.Features - IHeaderDictionary, IHttpRequestFeature, IFormFeature, IHttpAuthenticationFeature, IHttpResponseBodyFeature, IHttpWebSocketFeature, IHttpUpgradeFeature, IHttpExtendedConnectFeature, IResponseCookiesFeature, ITlsConnectionFeature, HttpsCompressionMode, WebSocketAcceptContext, IFormFile, IFormCollection, IFormFileCollection, IQueryCollection, IHttpMaxRequestBodySizeFeature
  • Microsoft.Extensions.Features - IFeatureCollection
  • Microsoft.AspNetCore.Hosting.Server.Abstractions - IServer, IHttpApplication<>, IServerAddressesFeature, IStartupConfigureServicesFilter, IStartupConfigureContainerFilter<>
  • Microsoft.AspNetCore.Hosting.Abstractions - IWebHostBuilder, WebHostBuilderContext, IWebHostEnvironment, IWebHost
  • Microsoft.AspNetCore.Routing.Abstractions - LinkGenerator, Endpoint, EndpointBuilder, IRouteConstraint, RouteValueDictionary, IRouter, RouteDirection
  • Microsoft.AspNetCore.Authentication.Abstractions - AuthenticationProperties, AuthenticateResult, AuthenticationTicket, IAuthenticationHandler, IAuthenticationSchemeProvider, AuthenticationScheme
  • Microsoft.AspNetCore.Authentication.Core - AddAuthenticationCore, AuthenticationFeature
  • Microsoft.AspNetCore.WebUtilities - WebUtilities namespace types, URL encoding/decoding utilities
  • Microsoft.Net.Http.Headers - EntityTagHeaderValue, RangeItemHeaderValue, ContentRangeHeaderValue, ResponseHeaders, RequestHeaders, CookieHeaderValue
  • Microsoft.AspNetCore.Mvc.Abstractions - Validation types (IModelValidator, IClientModelValidator, ModelValidationContext, ClientModelValidationContext), ApiExplorer types (IApiDescriptionProvider, ApiDescription), ProblemDetails, Filter interfaces (IAsyncAuthorizationFilter, IFilterFactory, IOrderedFilter, IFilterMetadata, AuthorizationFilterContext, ActionConstraintContext)

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@wtgodbe
Copy link
Member

wtgodbe commented Dec 11, 2025

@copilot correction: References should look like <Reference Include="Microsoft.AspNetCore.Http.Features" />

Copilot AI and others added 4 commits December 11, 2025 23:13
Added Microsoft.AspNetCore.Http.Abstractions, Microsoft.AspNetCore.Http.Features, Microsoft.Extensions.Features, and Microsoft.AspNetCore.Hosting.Server.Abstractions references to projects that need them after dependency updates.

Co-authored-by: wtgodbe <14283640+wtgodbe@users.noreply.github.com>
Added references to Microsoft.AspNetCore.Authentication.csproj and Microsoft.AspNetCore.Server.IISIntegration.csproj

Co-authored-by: wtgodbe <14283640+wtgodbe@users.noreply.github.com>
…ects

Added references to multiple middleware projects (CookiePolicy, RequestDecompression, HeaderPropagation, HttpsPolicy, WebSockets, ResponseCaching, ResponseCompression), MVC.Core, and SignalR Http.Connections.

Co-authored-by: wtgodbe <14283640+wtgodbe@users.noreply.github.com>
Added Microsoft.AspNetCore.Http.Features to CORS and Http.Results, and Microsoft.AspNetCore.Routing.Abstractions to Http.Results to resolve LinkGenerator type issues.

Co-authored-by: wtgodbe <14283640+wtgodbe@users.noreply.github.com>
Copilot AI changed the title [WIP] Update source code from dotnet/dotnet Add missing assembly references after dependency update to 11.0.0-alpha Dec 11, 2025
Copilot AI requested a review from wtgodbe December 11, 2025 23:24
@wtgodbe wtgodbe marked this pull request as ready for review December 11, 2025 23:26
@wtgodbe wtgodbe marked this pull request as draft December 11, 2025 23:27
@wtgodbe
Copy link
Member

wtgodbe commented Dec 11, 2025

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

Copy link
Contributor Author

Copilot AI commented Dec 11, 2025

@copilot correction: References should look like <Reference Include="Microsoft.AspNetCore.Http.Features" />

Confirmed - all Reference elements added follow that format: <Reference Include="..." />

@wtgodbe
Copy link
Member

wtgodbe commented Dec 11, 2025

@copilot there are still more build errors to be fixed, as you can see in https://dev.azure.com/dnceng-public/public/_build/results?buildId=1228964&view=results. Please continue iterating by adding more References until they're all fixed.

Copilot AI and others added 2 commits December 11, 2025 23:45
…zation.Policy, ResponseCompression, and IISIntegration

Added Microsoft.AspNetCore.Http.Abstractions, Microsoft.AspNetCore.Http.Features, and Microsoft.AspNetCore.Authentication.Abstractions to projects that were missing them after dependency updates.

Co-authored-by: wtgodbe <14283640+wtgodbe@users.noreply.github.com>
Added Microsoft.AspNetCore.Http.Features to ResponseCaching and Microsoft.AspNetCore.Http.Abstractions to SignalR.Core.

Co-authored-by: wtgodbe <14283640+wtgodbe@users.noreply.github.com>
@wtgodbe
Copy link
Member

wtgodbe commented Dec 12, 2025

@copilot add References to the following projects to fix the remaining build errors:

src/Identity/Core/src/Microsoft.AspNetCore.Identity.csproj
src/Mvc/Mvc.ViewFeatures/src/Microsoft.AspNetCore.Mvc.ViewFeatures.csproj
src/Components/Server/src/Microsoft.AspNetCore.Components.Server.csproj

…Server

Added missing references to fix build errors:
- Identity: Added Routing.Abstractions for endpoint routing types
- Mvc.ViewFeatures: Added WebUtilities for URL encoding/decoding
- Components.Server: Added Http for IHttpActivityFeature and other Http types

Co-authored-by: wtgodbe <14283640+wtgodbe@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Dec 12, 2025

@copilot add References to the following projects to fix the remaining build errors:

src/Identity/Core/src/Microsoft.AspNetCore.Identity.csproj
...

Added missing references to all 3 projects:

Identity - Added Microsoft.AspNetCore.Routing.Abstractions
Mvc.ViewFeatures - Added Microsoft.AspNetCore.WebUtilities
Components.Server - Added Microsoft.AspNetCore.Http

Commit: 78bc0f3

@wtgodbe
Copy link
Member

wtgodbe commented Dec 12, 2025

@copilot add References to the following projects to fix the remaining build errors:

src/Components/WebAssembly/Server/src/Microsoft.AspNetCore.Components.WebAssembly.Server.csproj
src/OpenApi/src/Microsoft.AspNetCore.OpenApi.csproj
src/Tools/GetDocumentInsider/src/GetDocument.Insider.csproj
src/Identity/Core/src/Microsoft.AspNetCore.Identity.csproj
src/Mvc/Mvc.ViewFeatures/src/Microsoft.AspNetCore.Mvc.ViewFeatures.csproj
src/Components/Server/src/Microsoft.AspNetCore.Components.Server.csproj

Added missing references to fix build errors:
- Components.WebAssembly.Server: Added Http for IHttpActivityFeature
- OpenApi: Added Http for IHttpActivityFeature
- GetDocument.Insider: Added Http for IHttpActivityFeature
- Identity: Added Extensions.Features for IFeatureCollection
- Mvc.ViewFeatures: Added Net.Http.Headers for header types
- Components.Server: Added Routing.Abstractions for endpoint routing

Co-authored-by: wtgodbe <14283640+wtgodbe@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Dec 12, 2025

@copilot add References to the following projects to fix the remaining build errors:

src/Components/WebAssembly/Server/src/Microsoft.AspNetCore.Components.WebAssembly.Server.csproj
...

Added missing references to all 6 projects:

Components.WebAssembly.Server - Added Microsoft.AspNetCore.Http
OpenApi - Added Microsoft.AspNetCore.Http
GetDocument.Insider - Added Microsoft.AspNetCore.Http
Identity - Added Microsoft.Extensions.Features
Mvc.ViewFeatures - Added Microsoft.Net.Http.Headers
Components.Server - Added Microsoft.AspNetCore.Routing.Abstractions

Commit: ca2549d

@wtgodbe
Copy link
Member

wtgodbe commented Dec 12, 2025

@copilot add References to the following projects to fix the remaining build errors:

src/Components/WebAssembly/Server/src/Microsoft.AspNetCore.Components.WebAssembly.Server.csproj
src/OpenApi/src/Microsoft.AspNetCore.OpenApi.csproj
src/Components/Server/src/Microsoft.AspNetCore.Components.Server.csproj
src/Identity/Core/src/Microsoft.AspNetCore.Identity.csproj

Added missing references to fix remaining build errors:
- Components.WebAssembly.Server: Added Http.Features
- OpenApi: Added Routing.Abstractions
- Components.Server: Added Extensions.Features
- Identity: Added Hosting.Abstractions

Co-authored-by: wtgodbe <14283640+wtgodbe@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Dec 12, 2025

@copilot add References to the following projects to fix the remaining build errors:

src/Components/WebAssembly/Server/src/Microsoft.AspNetCore.Components.WebAssembly.Server.csproj
...

Added missing references to all 4 projects:

Components.WebAssembly.Server - Added Microsoft.AspNetCore.Http.Features
OpenApi - Added Microsoft.AspNetCore.Routing.Abstractions
Components.Server - Added Microsoft.Extensions.Features
Identity - Added Microsoft.AspNetCore.Hosting.Abstractions

Commit: e355104

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants